package com.gr.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.gr.annotation.LogAnnotation;
import com.gr.entity.Admin;
import com.gr.dao.AdminMapper;
import com.gr.service.IAdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guoran
 * @since 2022-05-07
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {
    @Override
    @LogAnnotation(type = "select",content = "这是用户登录的操作")//重写目的使用LogAnnotation记录日志
    public Admin getOne(Wrapper<Admin> queryWrapper) {
        return super.getOne(queryWrapper);
    }
}
